package com.zhijian.medical.dao.local;


import com.zhijian.medical.entity.po.Message;
import com.zhijian.medical.entity.vo.request.MessageSearchVo;
import com.zhijian.medical.entity.vo.response.MessageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Message record);

    int insertSelective(Message record);

    Message selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);

    int count(MessageSearchVo messageSearchVo);

    List<MessageVo> selectList(MessageSearchVo messageSearchVo);

    MessageVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<Message> entities);

    /**
     * @return
     */
    List<Message> selectEmailFixList();
}